package com.ruoyi.uav.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 理论学习对象 uav_theoretic_study
 *
 * @author ruoyi
 * @date 2024-01-04
 */
@Data
@ApiModel(value = "理论学习对象", description = "理论学习对象")
public class UavTheoreticStudy extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 理论学习id */
    @ApiModelProperty("理论学习id")
    @TableId(value = "theoretic_study_id" ,type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long theoreticStudyId;

    /** 用户姓名 */
    @ApiModelProperty("用户姓名")
    @Excel(name = "用户姓名")
    private String userName;

    /** 队别id(部门id) */
    @ApiModelProperty("队别id(部门id)")
    @Excel(name = "队别id(部门id)")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long deptId;

    /** 队别名称(部门名称) */
    @ApiModelProperty("队别名称(部门名称)")
    @Excel(name = "队别名称(部门名称)")
    private String deptName;

    /** 教材id */
    @ApiModelProperty("教材id")
    @Excel(name = "教材id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long teachingMaterialId;

    /** 教材名称 */
    @ApiModelProperty("教材名称")
    @Excel(name = "教材名称")
    private String teachingMaterialName;

    /** 教材类型 */
    @ApiModelProperty("教材类型")
    @Excel(name = "教材类型")
    private String teachingMaterialType;

    /** 无人机类型 */
    @ApiModelProperty("无人机类型")
    @Excel(name = "无人机类型")
    private String uavType;

    /** 开始时间 */
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 学习时长 */
    @ApiModelProperty("学习时长")
    @Excel(name = "学习时长")
    private String learningTime;

    /** 删除标志（0代表存在 2代表删除） */
    @ApiModelProperty("删除标志（0代表存在 2代表删除）")
    private String delFlag;


}
